@media screen and (max-width: 414px) {
  body {
    min-width: initial;
    font-size: 14px;
  }
  body #header .aui-header {
    padding-bottom: 10px;
  }
  body #header .aui-header .aui-header-secondary .aui-nav {
    float: left;
    width: 100%;
  }
  body #header .aui-header .aui-header-secondary .aui-nav li:nth-of-type(2n) {
    float: right;
  }
  body #header .aui-header .aui-header-secondary .aui-nav li:nth-of-type(3n) {
    float: right;
  }
  body #content .aui-sidebar {
    position: absolute;
    left: 0;
    top: 0;
    width: 125px;
  }
  body #content .aui-sidebar .aui-sidebar-wrapper {
    height: auto !important;
    border-right: 1px solid #ddd;
    width: 125px;
  }
  body #content .aui-sidebar .aui-sidebar-wrapper .aui-page-header {
    width: auto;
    margin-right: 0;
  }
  body #content .aui-sidebar .aui-sidebar-wrapper .aui-page-header .aui-page-header-main {
    padding-left: 42px;
    padding-top: 0;
  }
  body #content #box .content {
    position: relative;
  }
  body #content #box .content .main_left {
    position: absolute;
    z-index: 1;
    padding-left: 0;
    left: 123px;
    top: 0;
    overflow: auto;
  }
  body #content #box .content .main_left .aui-sidebar {
    position: static;
  }
  body #content #box .content .main_left .aui-sidebar-wrapper {
    border-right: 0;
    width: 170px !important;
  }
  body #content #box .content .main_right {
    width: 100%;
    float: none;
    background: #fff;
  }
  body #content #box .content .main_right .table_setup {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    border: 1px solid #dddddd;
    margin: 10px 0 !important;
  }
  body #content #box .content .main_right .table_setup th, body #content #box .content .main_right .table_setup td {
    min-width: 80px;
  }
  body #content #box .content .main_right .themassage .right {
    width: 100%;
    overflow-x: auto;
  }
  body #content #box .content .main_right .themassage .right .massage_con .style1 {
    margin: 10px auto !important;
    width: 100% !important;
  }
  body .aui-header .aui-quicksearch input[type=text] {
    width: 140px;
  }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  body {
    min-width: initial;
    font-size: 16px;
  }
}
